package com.swind.fast.modules.app.railway.project.entity;

import com.swind.fast.common.aspect.annotation.Dict;
import com.swind.fast.common.system.base.entity.SwindEntity;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @Description: 项目
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sca_railway_project_taskpoint")
public class RailwayProjectTaskPoint extends SwindEntity {
    private String projectId;

    @Excel(name = "工点名称", width = 15)
    private String siteName;

    @Excel(name = "孔号", width = 15)
    private String holeName;

    @Excel(name = "冠号", width = 15)
    private String prefix;

    @Excel(name = "实测里程", width = 15)
    private String mile;

    @Excel(name = "偏移", width = 15)
    private String shift;

    @Excel(name = "位置", width = 15)
    private String location;

    @Excel(name = "经距(X)", width = 15)
    private String lng;

    @Excel(name = "纬距(Y)", width = 15)
    private String lat;

    @Excel(name = "孔深", width = 15)
    private String deep;

    @Excel(name = "孔口标高", width = 15)
    private String hight;

    @Excel(name = "水位深", width = 15)
    private String waterDeep;

    @Excel(name = "试验日期", width = 20, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date testDate;

    @Excel(name = "仪器型号", width = 15)
    private String deviceName;

    @Excel(name = "探头编号", width = 15)
    private String probeId;

    @Excel(name = "率定系数", width = 15)
    private String parameter;

    @Excel(name = "原位测试方法", width = 15)
    @TableField(exist = false)
    private String testMethod;

    @Dict(dicCode = "railway_project_test_method")
    private Integer testMethodDict;

    @Excel(name = "试验人员", width = 15)
    private String tester;

    @Excel(name = "整理", width = 15)
    private String checkBy;

    @Excel(name = "整理日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date checkDate;

    @Excel(name = "复核", width = 15)
    private String reviewBy;

    @Excel(name = "复核日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date reviewDate;

    @Excel(name = "深度比例", width = 15)
    private String deepRate;

    @Excel(name = "测值比例", width = 15)
    private String testRate;

    @Excel(name = "数据", width = 15)
    private String data;

    @Dict(dicCode = "railway_taskpoint_status")
    private Integer status;

    @TableField(exist = false)
    private String imgList;

    private Integer finishReport;

    @Excel(name = "地区", width = 15, dicCode ="railway_point_region")
    @Dict(dicCode = "railway_point_region")
    private Integer region;
    @Excel(name = "年代", width = 15, dicCode ="railway_point_period")
    @Dict(dicCode = "railway_point_period")
    private Integer period;
    @Excel(name = "成因", width = 15, dicCode ="railway_point_cause")
    @Dict(dicCode = "railway_point_cause")
    private Integer cause;
}
